﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using MVVM.Core;
using ViewModels;
using MVVM.Core;

namespace ViewComponents
{
	/// <summary>
	/// Interaction logic for ParentContainerControl.xaml
	/// </summary>
	public partial class ParentContainerControl : ViewControlBase
    {
        LinkedRangesViewModel mViewModel;

		public ParentContainerControl()
		{
            InitializeComponent();

            mViewModel = new ViewModels.LinkedRangesViewModel();

            DataContext = mViewModel;

            LinkedRangeControl.ViewModel = mViewModel;
            SourceRangeControl.ViewModel = mViewModel;
		}
	}
}
